package com.jrx.anytxn.transaction.dto.payment;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @program: anytxn-cf-parent
 * @description: 账单还款试算返回
 * @author: xiaoyu.jing
 * @date: 2021-06-25 18:48
 **/
public class BillPayTrailRes implements Serializable {

    /**
     * 用户编号
     */
    private String userId;

    /**
     * 欠款金额
     */
    private BigDecimal amount = BigDecimal.ZERO;

    /**
     * 最小还款金额
     */
    private BigDecimal minAmount = BigDecimal.ZERO;

    /**
     * 是否可延期还款
     */
    private String canDeferPayment;

    /**
     * 剩余未还本金
     */
    private BigDecimal principalAmnt= BigDecimal.ZERO;

    /**
     * 剩余未还利息
     */
    private BigDecimal interestAmnt= BigDecimal.ZERO;

    /**
     * 剩余未还罚息
     */
    private BigDecimal penaltyIntAmnt= BigDecimal.ZERO;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) { this.amount = amount; }

    public BigDecimal getMinAmount() {
        return minAmount;
    }

    public void setMinAmount(BigDecimal minAmount) {
        this.minAmount = minAmount;
    }

    public String getCanDeferPayment() {
        return canDeferPayment;
    }

    public void setCanDeferPayment(String canDeferPayment) {
        this.canDeferPayment = canDeferPayment;
    }

    public BigDecimal getPrincipalAmnt() { return principalAmnt; }

    public void setPrincipalAmnt(BigDecimal principalAmnt) { this.principalAmnt = principalAmnt; }

    public BigDecimal getInterestAmnt() { return interestAmnt; }

    public void setInterestAmnt(BigDecimal interestAmnt) { this.interestAmnt = interestAmnt; }

    public BigDecimal getPenaltyIntAmnt() { return penaltyIntAmnt; }

    public void setPenaltyIntAmnt(BigDecimal penaltyIntAmnt) { this.penaltyIntAmnt = penaltyIntAmnt; }
}
